<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl">
</head>
<body>
<form class="layui-form" id="updateBasic" style="width:80%;">
    <input type="hidden" name="id" value="${basic.id}">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">客户名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName"
                   lay-verify="required" name="customerName"
                   value="${basic.customerName}"
                   placeholder="请输入客户公司名称">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">产品名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="productName"
                   value="${basic.productName}"
                   placeholder="请输入产品名称">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">数量</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input" lay-verify="required" name="productCount"
                   oninput="if(value.length<1 )value=value.slice(0,0)"
                   value="${basic.productCount}"
                   placeholder="输入产品数量">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">单价￥</label>
        <div class="layui-input-block">
            <input type="number" class="layui-input" lay-verify="required" name="productUnitPrice"
                   placeholder="单位(万元)" value="${basic.productUnitPrice}">
        </div>
    </div>


    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="updateBasic">确认
            </button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" type="reset" id="resetBtn">重置</button>
        </div>
    </div>

</form>
<script src="${ctx}/layuimini/js/sale/update.basic.js" charset="UTF-8"></script>
</body>
</head>
</html>

